<template>
  <div class="content-container">
    <template v-for="(item, index) in dataSource" :key="index">
      <ArticleCard :articleInfo="item" />
    </template>
  </div>
</template>
<script>
import ArticleCard from './ArticleCard.vue';
export default {
  name: 'content-panel',
  props: {
    dataSource: { type: Array }
  },
  components: {
    ArticleCard,
  },
  created() {},
  beforeUpdate() {}
}
</script>

<style lang="less" scoped>
@import "~theme/flex.less";

.content-container {
  flex: 1;
  height: 100%;
  padding-bottom: 30vw;
  overflow: scroll;
}
</style>